home *** CD-ROM | disk | FTP | other *** search
- Path: il.ft.hse.nl!not-for-mail
- From: robert@il.ft.hse.nl (robert)
- Newsgroups: comp.lang.c
- Subject: Re: Help trapping stdout from Unix system() call
- Date: 11 Apr 1996 12:47:15 +0200
- Organization: LSD...melts in your mind, not in your hand
- Message-ID: <4kinvj$gpe@charm.il.ft.hse.nl>
- References: <DpnGsD.Mo2@ul.ie> <316BBED5.6201@wight.hursley.ibm.com>
- NNTP-Posting-Host: charm.il.ft.hse.nl
-
- max-lton@tcp.co.uk:
- >I tried a quick prog. Perror() is definitely the way to go. It runs
- >its progs in a bsh, which I assume is the same as sh. Undestanding this,
- >I did the call :
- >perror( "find /tmp -print 2>1", "r" )
- >but this didn't work either. So I'm no help really.
-
- You mean popen() ofcourse :)
-
- robert
-